Translation:

31. If ye (but) eschew the most heinous of the things which ye are forbidden to do We shall expel out of you all the evil in you and admit you to a Gate of great honor.